package model;

import java.util.Date;

/**
 * @author Mikhail Larinskiy
 */
public class Entry {
	private final double sum;
	private final Date date;
	private final Item item;

	public Entry(double sum, Date date, Item item) {
		this.sum = sum;
		this.date = date;
		this.item = item;
	}

	public double getSum() {
		return sum;
	}

	public Date getDate() {
		return date;
	}

	public Item getItem() {
		return item;
	}
}
